<?php

header("content-type: text/html; charset=utf-8");

function __autoload($class_name) {
    require_once $class_name.'.php';
}

$child = new Child("头", "尾", "内容");
$child->write("段光伟");
$child->play();

?>